package com.yhs.redis.service.impl;

import com.yhs.redis.domain.NbaPlayer;
import com.yhs.redis.mapper.NbaPlayerMapper;
import com.yhs.redis.service.NbaPlayerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class NbaPlayerServiceImpl implements NbaPlayerService {
    @Autowired
    private NbaPlayerMapper nbaPlayerMapper;

    @Override
    public List<NbaPlayer> listNbaPlayer() {
        return nbaPlayerMapper.listNbaPlayer();
    }
}
